package oo5;

import oo4.Pet;

public class Master {
	public String name;

	public Master(String name) {
		super();
		this.name = name;
	}

	public void feed(Pet p, String food) {
		System.out.println(name + "在喂食");
		p.feed(food);
	}
}
